package cn.gdsdxy.pojo;

import org.springframework.stereotype.Component;

@Component
public class Appraise {
    private int id;
    private int goods_id;
    private String appraise;
    private String customer;
    private String time;

    public Appraise() {
    }

    public Appraise(int id, int goods_id, String appraise, String customer, String time) {
        this.id = id;
        this.goods_id = goods_id;
        this.appraise = appraise;
        this.customer = customer;
        this.time = time;
    }

    @Override
    public String toString() {
        return "Appraise{" +
                "id=" + id +
                ", goods_id=" + goods_id +
                ", appraise='" + appraise + '\'' +
                ", customer='" + customer + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getAppraise() {
        return appraise;
    }

    public void setAppraise(String appraise) {
        this.appraise = appraise;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
